package com.stylefeng.guns.modular.hhtb.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.modular.hhtb.model.LogHhtbc;
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.hhtb.model.LogHhtbcDTO;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 现金转换的HHTB流水表 服务类
 * </p>
 *
 * @author wudi
 * @since 2018-09-15
 */
public interface ILogHhtbcService extends IService<LogHhtbc> {
    public  LogHhtbc getLogHhtbc(Integer userId,Integer fromId,String firstcode,BigDecimal preHHTBC,
                                 BigDecimal hHTBC,   Integer  hHTBCType,String remark,Integer type);


    public List<LogHhtbcDTO> selectAll(@Param("page")Page<LogHhtbcDTO> page,
                                       @Param("logHhtbcDTO")LogHhtbcDTO logHhtbcDTO);
}
